package jsyf.oa.facade.customerReport;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by 92852 on 2018/8/11.
 */
@Path("/allCustomerReportService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface AllCustomerReportFacade {

    @Path("/getCustomersByUserIds")
    JSONObject getCustomersByUserIds(String jsonData);

    @Path("/getOutGroupByUserId")
    List<JSONObject> getOutGroupByUserId(String userIds,String key,String isIntention);

    @Path("/reportDayTree")
    List<JSONObject> reportDayTree(String jsonData);

    @Path("/updateCustomerCreateByUserId")
    String updateCustomerCreateByUserId(String jsonData);

    @Path("/updateProvinceById")
    JSONObject updateProvinceById(String jsonData);

    @Path("/updateCreateUser")
    JSONObject updateCreateUser(String jsonData);

}
